章タイトルを1ページ独立にして装飾する - SphinxのPDF出力カスタマイズ
SphinxのPDFの章タイトルの見た目をカスタマイズする。
code:preamble(latex)
\usepackage{titlesec}
\titleclass{\chapter}{top}
\titleformat{\chapter}display
{\centering\normalfont\Huge\bfseries}
{\titlerule5pt\vspace{3pt}\titlerule2pt\vspace{3pt}\thechapter.}
{0pt}
{\titlerule2pt\vspace{1pc}\huge\MakeUppercase}
\titlespacing*{\chapter}{0pt}{0pt}{20pt}
\titleformat{\section}block
{\normalfont\huge\bfseries}{\newpage\thesection.}{0.5em}{\Huge}
元ネタ: https://tex.stackexchange.com/a/30450
もうちょっと違う装飾
code:preamble
\titleformat{\chapter}
display % shape
{\centering\normalfont\huge\bfseries} % format
{\titlerule5pt\vspace{3pt}\titlerule2pt\vspace{1em}\chaptertitlename \thechapter 章} % laberl
{0pt} % sep
{\vspace{3pt}\Huge} % before-code
% code
[{\vspace{1em}\titlerule2pt\vspace{3pt}\titlerule5pt}] % after-code